<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="/css/bootstrap.min.css" rel="stylesheet"></link>
	<link href="/css/bootstrap-theme.min.css" rel="stylesheet"></link>
	<link th:href="@{css/main.css}" rel="stylesheet"></link>
	<style>
		.loginForm{
			margin-top:100px;
		}
		.loginForm .title{
			text-align: center;
		}
	</style>
</head>
<body class="login-body">
	<div class="container">
		<div class="row">
			<div class="col-lg-4"></div>
			<div class="col-lg-4"></div>
			<div class="col-lg-4">
				<form class="loginForm" method="POST" action="/">
					<div class="form-group title">
						<label class="">管理端登录</label>
						<span id="helpBlock" class="help-block" th:text="${msg}"></span>
						<!-- form校验的话可以使用 bootstrapValidator-->
					</div>
					<div class="form-group">
						<label>账号</label>
						<input name="userName" type="" class="form-control" ></input>
					</div>
					<div class="form-group">
						<label>密码</label>
						<input name="passWord" type="password" class="form-control"></input>
					</div>
					<div class="form-group hidden">
						<label>类型</label>
						<input id="type" type="hidden" class="form-control">2</input>
					</div>
					<div class="checkbox  pull-left">
						<label>
						  <input type="checkbox"> Remember me</input>
						</label>
					</div>
					<div class="form-group pull-right">
						<button id="submit" class="btn btn-primary" type="submit">登录</button>
						<button class="btn btn-default" type="reset">取消</button>
					</div>
				</form>
			</div>
		
		</div>
	</div>
	<script src="/js/jquery-3.2.1.min.js"></script>
	<script src="/js/bootstrap.min.js"></script>
</body>
</html>